package com.gionee.survey.service;

import java.util.List;

import com.gionee.survey.bean.Answer;

/**
 * 
 * @author yuwei
 * @time 2017年4月12日 下午7:23:59
 */

public interface IAnswerService {
	int deleteByPrimaryKey(String id);

    int insert(Answer record);

    int insertSelective(Answer record);

    Answer selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Answer record);

    int updateByPrimaryKey(Answer record);
    
    List<Answer> selectByQuestionId(String questionId);
}
